package com.fc.test.model.auto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 
 * 
 * @author fuce
 * @email 87766867@qq.com
 * @date 2019-08-15 17:49:51
 */
public class TAbbCommissionExample {

    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TAbbCommissionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }
				
        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }
        
        		
        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(Integer value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(Integer value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }
        
        		
        public Criteria andMemberidIsNull() {
            addCriterion("memberid is null");
            return (Criteria) this;
        }

        public Criteria andMemberidIsNotNull() {
            addCriterion("memberid is not null");
            return (Criteria) this;
        }

        public Criteria andMemberidEqualTo(String value) {
            addCriterion("memberid =", value, "memberid");
            return (Criteria) this;
        }

        public Criteria andMemberidNotEqualTo(String value) {
            addCriterion("memberid <>", value, "memberid");
            return (Criteria) this;
        }

        public Criteria andMemberidGreaterThan(String value) {
            addCriterion("memberid >", value, "memberid");
            return (Criteria) this;
        }

        public Criteria andMemberidGreaterThanOrEqualTo(String value) {
            addCriterion("memberid >=", value, "memberid");
            return (Criteria) this;
        }

        public Criteria andMemberidLessThan(String value) {
            addCriterion("memberid <", value, "memberid");
            return (Criteria) this;
        }

        public Criteria andMemberidLessThanOrEqualTo(String value) {
            addCriterion("memberid <=", value, "memberid");
            return (Criteria) this;
        }

        public Criteria andMemberidLike(String value) {
            addCriterion("memberid like", value, "memberid");
            return (Criteria) this;
        }

        public Criteria andMemberidNotLike(String value) {
            addCriterion("memberid not like", value, "memberid");
            return (Criteria) this;
        }

        public Criteria andMemberidIn(List<String> values) {
            addCriterion("memberid in", values, "memberid");
            return (Criteria) this;
        }

        public Criteria andMemberidNotIn(List<String> values) {
            addCriterion("memberid not in", values, "memberid");
            return (Criteria) this;
        }

        public Criteria andMemberidBetween(String value1, String value2) {
            addCriterion("memberid between", value1, value2, "memberid");
            return (Criteria) this;
        }

        public Criteria andMemberidNotBetween(String value1, String value2) {
            addCriterion("memberid not between", value1, value2, "memberid");
            return (Criteria) this;
        }
        
        		
        public Criteria andBusinessidIsNull() {
            addCriterion("businessid is null");
            return (Criteria) this;
        }

        public Criteria andBusinessidIsNotNull() {
            addCriterion("businessid is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessidEqualTo(String value) {
            addCriterion("businessid =", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidNotEqualTo(String value) {
            addCriterion("businessid <>", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidGreaterThan(String value) {
            addCriterion("businessid >", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidGreaterThanOrEqualTo(String value) {
            addCriterion("businessid >=", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidLessThan(String value) {
            addCriterion("businessid <", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidLessThanOrEqualTo(String value) {
            addCriterion("businessid <=", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidLike(String value) {
            addCriterion("businessid like", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidNotLike(String value) {
            addCriterion("businessid not like", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidIn(List<String> values) {
            addCriterion("businessid in", values, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidNotIn(List<String> values) {
            addCriterion("businessid not in", values, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidBetween(String value1, String value2) {
            addCriterion("businessid between", value1, value2, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidNotBetween(String value1, String value2) {
            addCriterion("businessid not between", value1, value2, "businessid");
            return (Criteria) this;
        }
        
        		
        public Criteria andMessageIsNull() {
            addCriterion("message is null");
            return (Criteria) this;
        }

        public Criteria andMessageIsNotNull() {
            addCriterion("message is not null");
            return (Criteria) this;
        }

        public Criteria andMessageEqualTo(String value) {
            addCriterion("message =", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotEqualTo(String value) {
            addCriterion("message <>", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageGreaterThan(String value) {
            addCriterion("message >", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageGreaterThanOrEqualTo(String value) {
            addCriterion("message >=", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLessThan(String value) {
            addCriterion("message <", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLessThanOrEqualTo(String value) {
            addCriterion("message <=", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLike(String value) {
            addCriterion("message like", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotLike(String value) {
            addCriterion("message not like", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageIn(List<String> values) {
            addCriterion("message in", values, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotIn(List<String> values) {
            addCriterion("message not in", values, "message");
            return (Criteria) this;
        }

        public Criteria andMessageBetween(String value1, String value2) {
            addCriterion("message between", value1, value2, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotBetween(String value1, String value2) {
            addCriterion("message not between", value1, value2, "message");
            return (Criteria) this;
        }
        
        		
        public Criteria andCreattimeIsNull() {
            addCriterion("creattime is null");
            return (Criteria) this;
        }

        public Criteria andCreattimeIsNotNull() {
            addCriterion("creattime is not null");
            return (Criteria) this;
        }

        public Criteria andCreattimeEqualTo(String value) {
            addCriterion("creattime =", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeNotEqualTo(String value) {
            addCriterion("creattime <>", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeGreaterThan(String value) {
            addCriterion("creattime >", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeGreaterThanOrEqualTo(String value) {
            addCriterion("creattime >=", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeLessThan(String value) {
            addCriterion("creattime <", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeLessThanOrEqualTo(String value) {
            addCriterion("creattime <=", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeLike(String value) {
            addCriterion("creattime like", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeNotLike(String value) {
            addCriterion("creattime not like", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeIn(List<String> values) {
            addCriterion("creattime in", values, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeNotIn(List<String> values) {
            addCriterion("creattime not in", values, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeBetween(String value1, String value2) {
            addCriterion("creattime between", value1, value2, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeNotBetween(String value1, String value2) {
            addCriterion("creattime not between", value1, value2, "creattime");
            return (Criteria) this;
        }
        
        		
        public Criteria andBeiyongoneIsNull() {
            addCriterion("beiyongone is null");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneIsNotNull() {
            addCriterion("beiyongone is not null");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneEqualTo(String value) {
            addCriterion("beiyongone =", value, "beiyongone");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneNotEqualTo(String value) {
            addCriterion("beiyongone <>", value, "beiyongone");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneGreaterThan(String value) {
            addCriterion("beiyongone >", value, "beiyongone");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneGreaterThanOrEqualTo(String value) {
            addCriterion("beiyongone >=", value, "beiyongone");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneLessThan(String value) {
            addCriterion("beiyongone <", value, "beiyongone");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneLessThanOrEqualTo(String value) {
            addCriterion("beiyongone <=", value, "beiyongone");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneLike(String value) {
            addCriterion("beiyongone like", value, "beiyongone");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneNotLike(String value) {
            addCriterion("beiyongone not like", value, "beiyongone");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneIn(List<String> values) {
            addCriterion("beiyongone in", values, "beiyongone");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneNotIn(List<String> values) {
            addCriterion("beiyongone not in", values, "beiyongone");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneBetween(String value1, String value2) {
            addCriterion("beiyongone between", value1, value2, "beiyongone");
            return (Criteria) this;
        }

        public Criteria andBeiyongoneNotBetween(String value1, String value2) {
            addCriterion("beiyongone not between", value1, value2, "beiyongone");
            return (Criteria) this;
        }
        
        		
        public Criteria andBeiyongtwoIsNull() {
            addCriterion("beiyongtwo is null");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoIsNotNull() {
            addCriterion("beiyongtwo is not null");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoEqualTo(String value) {
            addCriterion("beiyongtwo =", value, "beiyongtwo");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoNotEqualTo(String value) {
            addCriterion("beiyongtwo <>", value, "beiyongtwo");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoGreaterThan(String value) {
            addCriterion("beiyongtwo >", value, "beiyongtwo");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoGreaterThanOrEqualTo(String value) {
            addCriterion("beiyongtwo >=", value, "beiyongtwo");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoLessThan(String value) {
            addCriterion("beiyongtwo <", value, "beiyongtwo");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoLessThanOrEqualTo(String value) {
            addCriterion("beiyongtwo <=", value, "beiyongtwo");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoLike(String value) {
            addCriterion("beiyongtwo like", value, "beiyongtwo");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoNotLike(String value) {
            addCriterion("beiyongtwo not like", value, "beiyongtwo");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoIn(List<String> values) {
            addCriterion("beiyongtwo in", values, "beiyongtwo");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoNotIn(List<String> values) {
            addCriterion("beiyongtwo not in", values, "beiyongtwo");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoBetween(String value1, String value2) {
            addCriterion("beiyongtwo between", value1, value2, "beiyongtwo");
            return (Criteria) this;
        }

        public Criteria andBeiyongtwoNotBetween(String value1, String value2) {
            addCriterion("beiyongtwo not between", value1, value2, "beiyongtwo");
            return (Criteria) this;
        }
        
        		
        public Criteria andBeiyongthreeIsNull() {
            addCriterion("beiyongthree is null");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeIsNotNull() {
            addCriterion("beiyongthree is not null");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeEqualTo(String value) {
            addCriterion("beiyongthree =", value, "beiyongthree");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeNotEqualTo(String value) {
            addCriterion("beiyongthree <>", value, "beiyongthree");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeGreaterThan(String value) {
            addCriterion("beiyongthree >", value, "beiyongthree");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeGreaterThanOrEqualTo(String value) {
            addCriterion("beiyongthree >=", value, "beiyongthree");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeLessThan(String value) {
            addCriterion("beiyongthree <", value, "beiyongthree");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeLessThanOrEqualTo(String value) {
            addCriterion("beiyongthree <=", value, "beiyongthree");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeLike(String value) {
            addCriterion("beiyongthree like", value, "beiyongthree");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeNotLike(String value) {
            addCriterion("beiyongthree not like", value, "beiyongthree");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeIn(List<String> values) {
            addCriterion("beiyongthree in", values, "beiyongthree");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeNotIn(List<String> values) {
            addCriterion("beiyongthree not in", values, "beiyongthree");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeBetween(String value1, String value2) {
            addCriterion("beiyongthree between", value1, value2, "beiyongthree");
            return (Criteria) this;
        }

        public Criteria andBeiyongthreeNotBetween(String value1, String value2) {
            addCriterion("beiyongthree not between", value1, value2, "beiyongthree");
            return (Criteria) this;
        }
        
                
       
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}